# General
API_ERROR = 1001
VALIDATION_FAILED = 1002
UNKNOWN_ERROR = 1003
INVALID_TOKEN = 1004
REQUIRED_FIELD_MISSING = 1005
CONTROLLER_ERROR = 1006
INCORRECT_EMAIL_OR_PASSWORD = 1007
FAILED_TO_DOWNLOAD = 1008
INVALID_CONFIGURATION = 1009

# User
USER_NOT_FOUND = 2001
USER_DUPLICATED_NAME = 2002
USER_NOT_ACCESSIBLE = 2003
USER_NOT_LOGGED_IN = 2004
USER_NOT_ADMIN = 2005
USER_NOT_ACTIVE = 2006

# Workspace
WORKSPACE_NOT_FOUND = 3001
WORKSPACE_DUPLICATED_NAME = 3002
WORKSPACE_FAILED_TO_CREATE = 3004


# Dataset
DATASET_NOT_FOUND = 4001
DATASET_DUPLICATED_NAME = 4002
DATASET_NOT_ACCESSIBLE = 4003
DATASET_FAILED_TO_CREATE = 4004

# Asset
ASSET_NOT_FOUND = 5001


# Model
MODEL_NOT_FOUND = 6001
MODEL_DUPLICATED_NAME = 6002
MODEL_NOT_ACCESSIBLE = 6003
MODEL_FAILED_TO_CREATE = 6004

# Task
TASK_NOT_FOUND = 7001
TASK_DUPLICATED_NAME = 7002
TASK_NOT_ACCESSIBLE = 7003
TASK_FAILED_TO_CREATE = 7004

# Graph
GRAPH_NOT_FOUND = 8001

# Inference
INFERENCE_FAILED_TO_CALL = 9001
INFERENCE_CONFIG_ERROR = 9002

# Keyword
KEYWORD_DUPLICATED = 10001
